﻿using Adnc.Application.Shared.Dtos;
using Adnc.Application.Shared.Services;
using System.Collections.Generic;
using System.Threading.Tasks;
using WYT.Pro.Application.Contracts.Dtos.Group;
using WYT.Pro.Application.Contracts.Dtos.Product;

namespace WYT.Pro.Application.Contracts.Services
{
    /// <summary>
    /// 商品组服务
    /// </summary>
    public interface IProductGroupAppService : IAppService
    {
        /// <summary>
        /// 获取分组
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<AppSrvResult<List<GroupDto>>> GetProductGroup(GroupSearchDto input);

        /// <summary>
        /// 分页查询商品
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<AppSrvResult<PageModelDto<ProductListDto>>> GetProductbyList(GroupProductPagedSearchDto input);
    }
}
